package com.shigu.user.bo;

import com.shigu.MallRequest;
import com.shigu.TokenRequest;
import com.shigu.weixin.vo.Token;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

public class NickRequest extends TokenRequest {
    @NotBlank(message = "昵称不能为空")
    @Length(min=0,max=20,message ="昵称长度应在0-20个之间" )
    private String nick;

    public String getNick() {
        return nick;
    }

    public void setNick(String nick) {
        this.nick = nick;
    }
}
